<?php
if(isset($_GET['txt'])){
	$get=$_GET['txt'];
	mysql_connect("localhost","root","");
	mysql_select_db("abade");
	$qry=mysql_query("SELECT * FROM items WHERE name='$get'");
	echo "<table>";
	while($row=mysql_fetch_array($qry)){
		echo "<tr>";
		echo "<td>" . $row['sn'] . "</td>";
		echo "<td>" . $row['name'] . "</td>";
		echo "<td>" . $row['price'] . "</td>";
	}
	echo "</table>";
}
?>